#!/bin/sh
# "seletc and case Usage"
echo
echo
echo " a=5  b=3. Please seletc your method:"
echo
echo
a=5
b=3
select var in "a+b" "a-b" "a*b" "a/b"
do 
      break
done
case $var in
    "a+b") echo 'a+b=' `expr $a + $b ` ;;
    "a-b") echo 'a-b=' `expr $a - $b ` ;;
    "a*b") echo 'a*b=' `expr $a \* $b ` ;;
    "a/b") echo 'a/b=' `expr $a / $b ` ;;
    *) echo "Input error..."
esac
